package com.example.elderlycare.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.Date;

@Data
@TableName("department")
@Builder
public class Department {
    private Integer id;
    private Date deletedAt;
    private String name;
    private String manager;
    private String phone;
    private Integer fatherId;
    private Integer nurseId;

    @Tolerate
    Department() {
    }
}
